home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Unix / top-v0_3 / Source / Make.desc.X < prev    next >
Encoding:
Text File  |  1995-02-24  |  673 b   |  24 lines

  1. # Makefile for .desc files
  2.  
  3. # This makefile is the prototype for "Make.desc", which is used by
  4. # top's Configure script to build .desc files and the SYNOPSIS file.
  5. # Configure then uses these files to ask appropriate questions.
  6.  
  7. # Written by William LeFebvre, Argonne National Laboratory
  8. #         (formerly of Northwestern University and Rice University)
  9.  
  10. # DO NOT EDIT "Make.desc"!!!  Make changes to "Make.desc.X",
  11. # then "make veryclean", then run "Configure".
  12.  
  13. DESCS=%descs%
  14.  
  15. .SUFFIXES: .desc
  16.  
  17. .c.desc:
  18.     sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@
  19.  
  20. all: SYNOPSIS
  21.  
  22. SYNOPSIS: $(DESCS)
  23.     grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS
  24.